package com.pubinfo.passbook.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 报账共享附件表
 *
 * @TableName t_witeoff_share_attachment
 */
@ApiModel(value = "TWiteoffShareAttachment", description = "报账共享附件表,接收前端报账单数据")
@TableName(value = "t_witeoff_share_attachment")
@Data
@NoArgsConstructor
public class TWiteoffShareAttachment implements Serializable {
  /**
   *
   */
  @TableId(type = IdType.ASSIGN_UUID, value = "id")
  private String id;
  
  /**
   * 被共享附件的报账单单号
   */
  @ApiModelProperty(value = "被共享附件的报账单单号")
  private String writeoffInstanceCode;
  
  /**
   * sap凭证号
   */
  @ApiModelProperty(value = "sap凭证号")
  private String sapCertificateCode;
  
  /**
   * 公司代码
   */
  @ApiModelProperty(value = "公司代码")
  private String companyCode;
  
  /**
   * 年份
   */
  @ApiModelProperty(value = "年份")
  private String tYear;
  
  /**
   * 是否附件所在
   */
  @ApiModelProperty(value = "是否附件所在")
  private Byte isMain;
  
  /**
   * 报账单对应的实体类型	非必须	WriteoffInstance通用实体；SpWriteoffInstance合作业务SupplierPayInstance供应商付款
   */
  @ApiModelProperty(value = "报账单对应的实体类型\t非必须\tWriteoffInstance通用实体；SpWriteoffInstance合作业务SupplierPayInstance供应商付款")
  private String instanceEntityName;
  
  /**
   * 报账单id
   */
  @ApiModelProperty(hidden = true)
  private String otherSystemMainId;
  
  @TableField(exist = false)
  private static final long serialVersionUID = 1L;
}